﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.Office.Interop.Excel;

namespace TecIntern.Interface {
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    [Guid("CCAD73A6-5EFF-4957-A797-64FEF4031D77")]
    public interface IExcelInterface {
        [DispId(1)]
        void ExcelCore(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber);

        [DispId(2)]
        bool fnExcelCoreBool(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber, bool cancel);

        [DispId(3)]
        void ExcelCore(Application exApp, Workbook wb, Worksheet sh, int CoreFunctionNumber, Range r1);

        [DispId(4)]
        bool fnExcelCoreTarget(Application exApp, Workbook wb, Worksheet sh, Range target, int CoreFunctionNumber, bool cancel);

    }
}
